package ace.module.upms.core.impl.dao.repository;


import ace.cmp.spring.data.jdbc.querydsl.core.repository.QuerydslJdbcBaseRepository;
import ace.module.upms.core.impl.constant.UpmsCoreConstant;
import ace.module.upms.core.impl.dao.entity.UpmsRole;
import com.baomidou.dynamic.datasource.annotation.DS;
import java.util.List;
import org.springframework.stereotype.Repository;

/**
 * 角色对象 repository.
 *
 * @author Caspar
 */
@DS(UpmsCoreConstant.DEFAULT_DATA_SOURCE_NAME)
@Repository
public interface UpmsRoleRepository extends QuerydslJdbcBaseRepository<UpmsRole,Long> {

  List<UpmsRole> getByUpmsAppIdAndIdInAndDeleteFlag(Long upmsAppId, List<Long> ids, Long deleteFlag);
}